﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="RailwayReservationWeb.login" %>

<!DOCTYPE html>
<html lang="en-us">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <link rel="icon" href="favicon.ico" />
    <title></title>
    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- Bootstrap DatePicker core CSS -->
    <link href="css/datepicker3.css" rel="stylesheet" type="text/css" />
    <!-- Bootstrap theme -->
    <link href="css/bootstrap-theme.min.css" rel="stylesheet" type="text/css" />
    <!-- Custom styles for this template -->
    <link href="css/bootbaka.css" rel="stylesheet" type="text/css" />
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js" type="text/javascript"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js" type="text/javascript"></script>
    <![endif]-->
</head>
<body>
    <div class="container">
        <!-- Static navbar -->
        <div class="navbar navbar-india">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span><span
                            class="icon-bar"></span><span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">Indian Railways</a>
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li><a href="default.aspx">Home</a></li>
                        <li class="active"><a href="login.aspx">Login</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div>
            <form id="frmLogin" runat="server" class="center-block form-horizontal well" role="form">
            <fieldset>
                <legend>Login</legend>
                <p id="pMessage" runat="server" class="alert alert-danger">
                </p>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="alert alert-danger"
                    DisplayMode="List" />
                <div class="form-group">
                    <asp:Label ID="Label2" runat="server" class="col-sm-2 control-label" Text="Username"
                        AssociatedControlID="txtUsername"></asp:Label>
                    <div class="col-sm-10">
                        <asp:TextBox ID="txtUsername" runat="server" class="form-control"></asp:TextBox>
                    </div>
                </div>
                <div class="form-group">
                    <asp:Label ID="Label1" runat="server" Text="Password" class="col-sm-2 control-label"
                        AssociatedControlID="txtPassword"></asp:Label>
                    <div class="col-sm-10">
                        <asp:TextBox ID="txtPassword" runat="server" class="form-control" TextMode="Password"></asp:TextBox>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <asp:Button ID="btnLogin" runat="server" Text="Login" CssClass="btn btn-danger"
                            OnClick="btnLogin_Click" />
                        &nbsp;<asp:Button ID="btnReset" runat="server" Text="Reset" CssClass="btn btn-default"
                            OnClick="btnReset_Click" CausesValidation="False" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please input User Name"
                            ForeColor="Transparent" ControlToValidate="txtUsername">∗</asp:RequiredFieldValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please input Password"
                            ForeColor="Transparent" ControlToValidate="txtPassword">∗</asp:RequiredFieldValidator>
                    </div>
                </div>
            </fieldset>
            </form>
        </div>
    </div>
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script src="js/bootstrap.min.js" type="text/javascript"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="js/ie10-viewport-bug-workaround.js" type="text/javascript"></script>
</body>
</html>
